package model.expression.command;

import state.TabState;
import state.TurtleState;

public class ClearScreen extends AbstractCommandExpression {
	
	public ClearScreen(TabState ts) {
		super(ts);
	}
	
	@Override
	protected int getExpNumChildren() {
		return 0;
	}

	@Override
	public int evaluate() {
		//TODO Call controller method to clearscreen here. How do we do that?!?
		tabSt.clearScreen();
		tabSt.notifyObservers("ClearScreen");	
		return 0;
	}

}
